<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
< c:set var = "path" value = "${pageContext.request.contextPath} " />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <base target="main">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/bootstrap.css" />
	<link rel="stylesheet" href="${pageContext.request.contextPath }/css/css.css" />
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery1.9.0.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/sdmenu.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/laydate/laydate.js"></script>
    <style type="text/css">
       #sd{height: 20px;}
       .daohang{font-weight: bold;}
    </style>
</head>
<body>
     <!--左边菜单  -->
	<div style="overflow-y:auto;width:400px; height:500px; ">
	     <div class="left">
			<script type="text/javascript">
			var myMenu;
			window.onload = function() {
				myMenu = new SDMenu("my_menu");
				myMenu.init();
			};
			</script>
	    <div id="sd"><span class="daohang"><font size="4" style="color: #333333">导航栏</font></span></div>
		<div id="my_menu" class="sdmenu">
		    <c:forEach var="parMap" items="${sessionScope.parMap }">
		        <div class="collapsed">
		           <span>${parMap.value.functionname }</span>
		           <c:forEach var="funcList" items="${sessionScope.funcList }">
		           <c:if test="${parMap.value.functionid == funcList.parentid }">
		           <a href="${pageContext.request.contextPath }/${funcList.permurl }">${funcList.functionname }</a>
		           </c:if>
		           </c:forEach>
		        </div>
		    </c:forEach>
		</div>
	  </div>
	</div>
</body>
</html>